package com.matt.domain;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * 工作日期
 * *******************************
 */
@Entity
@Data
@Table(name = "work_date")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class WorkDate extends Domain {
    @Column(columnDefinition = "varchar(255) COMMENT '工作日期日期' ")
    private Date workDate;

    @Column(columnDefinition = "int default 0 COMMENT  '类型0普通记录' ")
    private Integer type;
}
